.articles-container {
  padding: 24px;
  background: #f5f5f5;
  min-height: calc(100vh - 64px);

  .stats-row {
    margin-bottom: 24px;

    .ant-card {
      border-radius: 8px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
      transition: all 0.3s ease;

      &:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        transform: translateY(-2px);
      }

      .ant-statistic {
        .ant-statistic-title {
          color: #666;
          font-weight: 500;
        }

        .ant-statistic-content {
          .ant-statistic-content-value {
            font-weight: 600;
          }
        }
      }
    }
  }

  .ant-card {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);

    .table-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 24px;

      .header-left {
        h4 {
          color: #262626;
        }
      }
    }

    .table-filters {
      margin-bottom: 16px;
      padding: 16px;
      background: #fafafa;
      border-radius: 6px;
    }

    .ant-table {
      .article-info {
        .article-header {
          display: flex;
          gap: 12px;

          .article-details {
            flex: 1;
            min-width: 0;

            .article-title {
              font-weight: 500;
              color: #262626;
              margin-bottom: 4px;
              overflow: hidden;
              text-overflow: ellipsis;
              white-space: nowrap;
              cursor: pointer;

              &:hover {
                color: #1890ff;
              }
            }

            .article-excerpt {
              font-size: 12px;
              color: #666;
              line-height: 1.4;
              margin-bottom: 8px;
              display: -webkit-box;
              -webkit-line-clamp: 2;
              -webkit-box-orient: vertical;
              overflow: hidden;
            }

            .article-tags {
              .ant-tag {
                margin-right: 4px;
                margin-bottom: 4px;
                font-size: 11px;
                padding: 0 6px;
                height: 20px;
                line-height: 18px;
              }
            }
          }
        }
      }

      .ant-table-tbody {
        .ant-table-row {
          &:hover {
            background: #f5f5f5;
          }
        }
      }
    }
  }

  .article-preview {
    .preview-header {
      margin-bottom: 24px;
      padding-bottom: 16px;
      border-bottom: 1px solid #f0f0f0;

      h2 {
        margin-bottom: 12px;
        color: #262626;
      }
    }

    .preview-content {
      line-height: 1.8;
      color: #262626;

      p {
        margin-bottom: 16px;
      }
    }
  }

  // 响应式设计
  @media (max-width: 768px) {
    padding: 16px;

    .table-header {
      flex-direction: column;
      gap: 16px;
      align-items: stretch !important;

      .header-right {
        width: 100%;

        .ant-btn {
          width: 100%;
        }
      }
    }

    .table-filters {
      .ant-row {
        .ant-col {
          margin-bottom: 8px;
        }
      }
    }

    .ant-table {
      .article-info {
        .article-header {
          .article-details {
            .article-title {
              font-size: 14px;
            }

            .article-excerpt {
              font-size: 11px;
              -webkit-line-clamp: 1;
            }
          }
        }
      }
    }

    .stats-row {
      .ant-statistic {
        .ant-statistic-content {
          .ant-statistic-content-value {
            font-size: 20px;
          }
        }
      }
    }
  }

  @media (max-width: 576px) {
    .ant-table {
      .ant-table-thead {
        display: none;
      }

      .ant-table-tbody {
        .ant-table-row {
          display: block;
          border: 1px solid #f0f0f0;
          border-radius: 8px;
          margin-bottom: 12px;
          padding: 12px;

          .ant-table-cell {
            display: block;
            border: none;
            padding: 4px 0;

            &:before {
              content: attr(data-label);
              font-weight: 500;
              color: #666;
              display: inline-block;
              width: 80px;
              margin-right: 8px;
            }

            &:first-child:before {
              content: '';
              display: none;
            }
          }
        }
      }
    }
  }
}